﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HealthcareSystem.Domain.BasicSettings.Team
{
    /// <summary>
    /// 机构表（树形）
    /// </summary>
    [Table("institutions")]
    public class Institution
    {
        [Key]
        /// <summary>
        /// 机构主键
        /// </summary>
        public int InstitutionId { get; set; }
        /// <summary>
        /// 机构名称
        /// </summary>
        public string InstitutionName { get; set; }
        /// <summary>
        /// 机构类型
        /// </summary>
        public string InstitutionType { get; set; }
        /// <summary>
        /// 机构地址
        /// </summary>
        public string InstitutionURL { get; set; }
        /// <summary>
        /// 上级机构
        /// </summary>
        public int SuperiorInstitution { get; set; }
        /// <summary>
        /// 逻辑删除列
        /// </summary>
        public bool IsDelete {  get; set; }
    }
}
